<?php    
    $auth_code_object = new auth_code();
    
    //action对应表
    $action_ary = array(
    'entry' => 'auth_code_entry'
    );

    //执行函数
    if($action && ($fun = $action_ary[$action])){
        $fun();
    }
    
    //action
    //*+------------------------------------------------------------------------+*/
    
    /**
     * 显示验证码
     * 
     * @author zhouqi 2012-8-9 AM 10:47:54
     */
    function auth_code_entry() {
        global $auth_code_object;

        //高度
        $h = request('height', false, true, false, 0);
        
        //宽度
        $w = request('width', false, true, false, 0);
        
        //字体大小
        $size = request('size', false, true, false, 25);
        
        $auth_code_object->image_h = $h;
        $auth_code_object->image_l = $w;
        $auth_code_object->font_size = $size;
        $auth_code_object->_entry();
    }
     
    
    //function
    //*+------------------------------------------------------------------------+*/
?>